package com.tuo51.evaluate.service.tag;

import com.tuo51.evaluate.domain.evaluatingV2.EvaluateV2Question;
import com.tuo51.evaluate.domain.tags.RelObjectTag;
import com.tuo51.evaluate.domain.tags.Tag;

public interface TagService {

    Tag createOrGetTag(String tagName, Integer month);

    enum TagObjectType{
        PBQuestion(1, "儿心量表问题"),
        StoreItem(2,"家长推荐对象");

        TagObjectType(int code, String value){
            this.code = code;
            this.value = value;
        }
        int code;
        String value;

        public String getValue() {
            return value;
        }

        public int getCode() {
            return code;
        }
    }

    RelObjectTag createRelation(String tagName, Integer month, String objId, Integer objType) ;

    RelObjectTag createRelationForQuestion(String tagName, Integer month, EvaluateV2Question question);

}
